package com.kehutong.house.entity;

import org.coraframework.orm.Entity;
import org.coraframework.orm.annotation.Column;
import org.coraframework.orm.annotation.Table;
import org.coraframework.orm.util.IDType;

/**
 * TODO
 *  心跳记录实体类
 * @author zhouweipeng
 * @version 1.0
 * @date 2021/7/27 9:53
 */
@Table(value="t_heart_beat_record", idType= IDType.UUID,multi=true)
public class HeartBeatRecord extends Entity {

    public HeartBeatRecord(String id) {
        super(id);
    }

    @Column(comment="机号/设备编号")
    private String clockId;
    @Column(comment="设备序列号")
    private String devsn;

    @Column(comment="ext")
    private String ext;

    @Column(comment="心跳间隔")
    private Integer hbinterval;

    @Column(comment="设备类型")
    private String type;

    public String getClockId() {
        return clockId;
    }

    public void setClockId(String clockId) {
        this.clockId = clockId;
    }

    public String getDevsn() {
        return devsn;
    }

    public void setDevsn(String devsn) {
        this.devsn = devsn;
    }

    public Integer getHbinterval() {
        return hbinterval;
    }

    public void setHbinterval(Integer hbinterval) {
        this.hbinterval = hbinterval;
    }

    public String getExt() {
        return ext;
    }

    public void setExt(String ext) {
        this.ext = ext;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
